Skip to content

feat: add chaos-process workload#53

Merged
mrhillsman merged 1 commit into
mainfrom
feat/chaos-process-workload
May 22, 2026
Merged

feat: add chaos-process workload#53
mrhillsman merged 1 commit into
mainfrom
feat/chaos-process-workload

Conversation

@mrhillsman

Copy link
Copy Markdown
Contributor

Implement chaos-process workload that randomly kills non-essential processes to test system resilience. The workload:

  • Randomly selects and terminates processes using configurable signals
  • Excludes critical system processes (systemd, sshd, dbus, etc.)
  • Configurable via environment variables:
    • CHAOS_SIGNAL (default: SIGTERM)
    • CHAOS_INTERVAL (default: 30s)
    • CHAOS_MIN_PID (default: 1000)
  • Runs as a systemd service with auto-restart
  • Logs all actions to systemd journal

The implementation follows the single-VM workload pattern (like cpu, memory, disk) and includes comprehensive unit tests.

Resolves #18

@exe-prow-github-app

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mrhillsman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 21, 2026
@mrhillsman mrhillsman force-pushed the feat/chaos-process-workload branch from cdaef98 to 7b46c7f Compare May 22, 2026 00:31
Implement chaos-process workload that randomly kills non-essential
processes to test system resilience. The workload:

- Randomly selects and terminates processes using configurable signals
- Excludes critical system processes (systemd, sshd, dbus, etc.)
- Configurable via environment variables:
  * CHAOS_SIGNAL (default: SIGTERM)
  * CHAOS_INTERVAL (default: 30s)
  * CHAOS_MIN_PID (default: 1000)
- Runs as a systemd service with auto-restart
- Logs all actions to systemd journal

The implementation follows the single-VM workload pattern (like cpu,
memory, disk) and includes comprehensive unit tests.

Resolves #18

Signed-off-by: Melvin Hillsman <mhillsma@redhat.com>
@mrhillsman mrhillsman force-pushed the feat/chaos-process-workload branch from 7b46c7f to 6204d87 Compare May 22, 2026 01:00
@mrhillsman mrhillsman merged commit 7f79fb0 into main May 22, 2026
3 of 4 checks passed
@mrhillsman mrhillsman deleted the feat/chaos-process-workload branch May 22, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Workload]: chaos-process workload (random process killing)

1 participant